P+ - Donkey Kong - Common Subroutine 0x18e7c
- if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc52)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 261 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 270 }
- else
- if ((InternalConstantInt(ControlStickYAxis) LessThanOrEqual InternalConstantInt (0xc53)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 262 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 271 }
- else
- if ((InternalConstantInt(ControlStickXAxisAbsolute) LessThanOrEqual InternalConstantInt (0xc2d)))
- IfStatementAnd (ButtonHeld value(3))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 254 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 254 }
- else
- if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual scalar(0)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 259 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 268 }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 260 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 269 }
- FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: InternalConstantInt(CharacterDirectionOpposite) }